package trustedPlatformBackup;

import java.io.InputStream;

import javax.swing.text.StyledEditorKit.BoldAction;

import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.ImageData;
import org.eclipse.swt.widgets.Display;

public class CCommonConstants {
	final InputStream bild = (getClass()
			.getResourceAsStream("/trustedPlatformBackup/Folder.ico"));

	public static int MY_TEST = 1010;

	public static final Image IMAGE_FOLDER = (new Image(Display.getCurrent(),
			Image.class
					.getResourceAsStream("/trustedPlatformBackup/Folder.ico")));
	public static final Image IMAGE_FILE = (new Image(
			Display.getCurrent(),
			Image.class
					.getResourceAsStream("/trustedPlatformBackup/Newdocument.ico")));
	
	// GUI 
	public static final String DATA_LABEL = "Aktuelle Daten";
	public static final String CURRENT_BACKUP_LABEL = "Aktullstes Backup";
	
	// Constants for Properties
	
	
/*	public static final String LOGFILE_FOLDER = CCommonConstants.DEFAULT_PROPERTY_BACKUP_FOLDER+"/log";
	public static final String FULL_BACKUP_FOLDER = CCommonConstants.DEFAULT_PROPERTY_INC_BACKUP_FOLDER+"/fullBackup";
	public static final String DIFF_BACKUP_FOLDER = CCommonConstants.DEFAULT_PROPERTY_INC_BACKUP_FOLDER+"/diff_${backup_date}";
	public static final String DIFF_BACKUP_FOLDER_DIR = CCommonConstants.DEFAULT_PROPERTY_INC_BACKUP_FOLDER+"/diff_${backup_date}_subfolder";
	public static final String DO_BACKUP_BACKUP_FOLDER = "";
	public static final String DO_BACKUP_BACKUP_FILE = "";

	public static final String DIFF_HARDLINK_BACKUP_FOLDER = CCommonConstants.DEFAULT_PROPERTY_INC_BACKUP_FOLDER+"/full_${backup_date}";

	public static final String RSYNC_PARAMETER = "-avzbh --delete ";
	public static final String RSYNC_PARAMETER_DIFF_BACKUP_FOLDER = "--backup-dir="+CCommonConstants.DIFF_BACKUP_FOLDER;

	public static final String RSYNC_PARAMETER_DIFF_BACKUP_FOLDER_DIR = "--backup-dir=";
	public static final String RSYNC_PARAMETER_HARDLINK_BACKUP_DIR = "--link-dest="+CCommonConstants.DIFF_HARDLINK_BACKUP_FOLDER;

	public static final String RSYNC_PARAMETER_HARDLINK_MODE_BACKUP_FOLDER = "--link-dest=$currentBackupFolder";
	public static final String RSYNC_PARAMETER_HARDLINK_MODE = "$rsyncParamenter";
	public static final String DIFF_BACKUP_FOLDER_HARDLINK_MODE = "${incBackupFolder}/diff_${backup_date}_Hardlink";

	

	*/
	

}
